import React, { Component } from 'react'
import { Route, NavLink } from 'react-router-dom';
import Home from '../Home/Home';
import Singer from '../Singer/Singer';
import "./QQy.css"

export default class QQy extends Component {
    render() {
        return (
            <div>
                <div className="qqnav">
                    <NavLink className="list-group-item" to="/QQy/home">音乐馆</NavLink>
                    <NavLink className="list-group-item" to="/QQy/Singer">我的音乐</NavLink>
                </div>

                <Route path="/QQy/home" component={Home} />
                <Route path="/QQy/Singer" component={Singer} />
            </div>
        )
    }
}
